package application;

import console.Console;
import fenetre.Fenetre;
import game.iAffichage;
import game.settings;

public class appli {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		iAffichage aff;
		settings.init();
		
		//Mode en console
		if(args.length > 0 && args[0].equals("c"))
			aff = new Console();
		//Mode Graphique
		else
			aff = new Fenetre();

		aff.start();
	}

}
